<template>
  <div class="mask" v-show="isShow">
    <img :src="require('../../assets/img/loading.gif')" alt="图片不见惹" class="img">
  </div>
</template>

<script>
export default {
  data () {
    return {
      isShow: false
    }
  }
}
</script>

<style lang="scss" scoped>
.mask{
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 999;
  background-color: rgba(0,0,0,0.6);
  .img{
    width: 10rem;
    opacity: 0.6;
  }
}
</style>
